// ncamera.hpp
//

#ifndef _NCAMERA_HPP
#define _NCAMERA_HPP

#include "node.hpp"



// NDataCamera
//
struct NDataCamera : public NodeData
{
  virtual void render_prepare ( SceneView &scene_view );
  virtual void render ( RenderContext &rc );

  void set_active ( bool active ) { this->active = active; }
  
  bool active{false};
  wgl::Camera wgl_camera{};
};



#endif
